<?php
// +----------------------------------------------------------------------------
// | Tke团队版权所属 [三十年河东三十年河西,莫欺少年穷.!]
// +----------------------------------------------------------------------------
// | Copyright (c) 2014 http://www.itdaodan.com All rights reserved.
// +----------------------------------------------------------------------------
// | Author: fang<fangnengwan@hrbjjhh.com>
// +----------------------------------------------------------------------------
/**
 *@todo 订单质检模型
 +------------------------------------------------------------------------------
 * @version   1.0
 * @since 2016-03-21
 +------------------------------------------------------------------------------
 */
namespace Admin\Model;
use Think\Model\ViewModel;

class CheckOrderViewModel extends ViewModel{
	public $viewFields = array(
		'order' => array('*','_as'=>'iweb_order','_type'=>'LEFT'),
		'CheckOrder' => array('member_id', 'is_pass', 'create_time' => 'first_time', '_on' => 'CheckOrder.order_id = iweb_order.order_id'),
	    'shop' => array('shop_name','merchant_id','conf_category_id','_on' => 'shop.shop_id = iweb_order.shop_id'),
	);
}